package com.gf.common.model;

import java.util.Date;

/**
 * 附件
 * CAnnex entity. @author MyEclipse Persistence Tools
 */
public class Annex implements java.io.Serializable {

	/**
	 * 业务 id
	 */
	private String nAnnexId;
	
	/**
	 * 附件关联对象所属表名
	 */
	private String cRelationObjectType;
	
	/**
	 * 附件关联对象id
	 */
	private String cRelationObjectId;
	
	/**
	 * 附件类型（如果同一条记录含有多个附件，以此来区别）
	 */
	private String cAnnexType;
	
	/**
	 * 文件名
	 */
	private String cFileName;
	
	/**
	 * 文件类型
	 */
	private String cFileType;
	
	/**
	 * 文件大小
	 */
	private Integer nFileSize;
	
	/**
	 * 文件路径
	 */
	private String cFilePath;
	
	/**
	 * 下载次数
	 */
	private Integer iDownCount;
	
	/**
	 * 创建人id
	 */
	private String nCreateId;
	
	/**
	 * 创建时间
	 */
	private Date dCreateTime;
	
	/**
	 * 是否可用
	 */
	private String cValid;
	
	
	public String getnAnnexId() {
		return nAnnexId;
	}
	public void setnAnnexId(String nAnnexId) {
		this.nAnnexId = nAnnexId;
	}
	public String getcRelationObjectType() {
		return cRelationObjectType;
	}
	public void setcRelationObjectType(String cRelationObjectType) {
		this.cRelationObjectType = cRelationObjectType;
	}
	public String getcRelationObjectId() {
		return cRelationObjectId;
	}
	public void setcRelationObjectId(String cRelationObjectId) {
		this.cRelationObjectId = cRelationObjectId;
	}
	public String getcAnnexType() {
		return cAnnexType;
	}
	public void setcAnnexType(String cAnnexType) {
		this.cAnnexType = cAnnexType;
	}
	public String getcFileName() {
		return cFileName;
	}
	public void setcFileName(String cFileName) {
		this.cFileName = cFileName;
	}
	public String getcFileType() {
		return cFileType;
	}
	public void setcFileType(String cFileType) {
		this.cFileType = cFileType;
	}
	public Integer getnFileSize() {
		return nFileSize;
	}
	public void setnFileSize(Integer nFileSize) {
		this.nFileSize = nFileSize;
	}
	public String getcFilePath() {
		return cFilePath;
	}
	public void setcFilePath(String cFilePath) {
		this.cFilePath = cFilePath;
	}
	public Integer getiDownCount() {
		return iDownCount;
	}
	public void setiDownCount(Integer iDownCount) {
		this.iDownCount = iDownCount;
	}
	public String getnCreateId() {
		return nCreateId;
	}
	public void setnCreateId(String nCreateId) {
		this.nCreateId = nCreateId;
	}
	public Date getdCreateTime() {
		return dCreateTime;
	}
	public void setdCreateTime(Date dCreateTime) {
		this.dCreateTime = dCreateTime;
	}
	public String getcValid() {
		return cValid;
	}
	public void setcValid(String cValid) {
		this.cValid = cValid;
	}
}